﻿//
// *************************************************************************************
// WP-Framework
// 
// Developed by
// Lukas Kretschmar (lkretschmar.dev@bluewin.ch)
//
// Switzerland, Copyright (c) 2013 lkretschmar
// This content is released under the MIT License (http://opensource.org/licenses/MIT).
//     
// *************************************************************************************
//
//
			

using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using KretschIT.WP_Fx.EasyMoq.Generator.Configurations;
using System.Reflection;

namespace KretschIT.WP_Fx.EasyMoq.Generator.Tests.MultiGenerator
{
    [TestClass]
    public class MultiGeneratorTest
    {
        private IEasyMoqConfigReader reader;

        [TestInitialize]
        public void Init()
        {
            this.reader = new EasyMoqClassConfigReader(Assembly.GetExecutingAssembly());
        }

        [TestMethod]
        public void Test_GetMockTypes()
        {
            var types = this.reader.GetMockableInfo();
            Assert.AreEqual(2, types.Count());
        }
    }
}
